import React,{Component} from 'react'

import {SoundStyle} from './StyleSound.js'
import Navigation from 'components/Navigation/Navigation'

import ht from 'images/my/huitui@3x.png'
import Control from './componets/Control.jsx'


export default class Sound extends Component {
  constructor(props) {
    super(props);
    this.state = {
      checked: false,
      checked1: true,
    };
  }
    render(props) {
        return (
          <SoundStyle>
            <Navigation 
                leftImg = {ht} 
                leftImgWidth = '.2rem'
                leftImgHeight = '.2rem'
                leftPadding = '0 0 0 .095rem'
                title = "提示音设置"
                titleSize = '.17rem'
                clickLeft = {()=>this.onClickLeft("left")}
            ></Navigation> 

            <Control titles="接收新消息"></Control>
            <Control titles="声音"></Control>
            <Control titles="震动"></Control>
          </SoundStyle>
        )
    }
    onClickLeft(tag){
      this.props.history.go(-1)
    }
  }